// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:04

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ms.java

package com.zelix;

import java.io.*;

// Referenced classes of package com.zelix:
//            is, ac, xs, om, 
//            hs, jb, jm

public class ms extends is
    implements om
{

    double i;
    private static String z[];

    ms(int j, jb jb, jm jm)
        throws IOException
    {
        super(j, jm);
        i = jb.readDouble();
    }

    public String a()
    {
        return z[1];
    }

    public String b()
    {
        return h();
    }

    public String h()
    {
        return String.valueOf(i);
    }

    protected int i()
    {
        return 2;
    }

    public int l()
    {
        return 6;
    }

    public void a(String s)
        throws ac
    {
        double d;
        try
        {
            d = Double.valueOf(s).doubleValue();
        }
        catch(NumberFormatException _ex)
        {
            throw new ac(s + z[0]);
        }
        i = d;
        d();
    }

    static xs b(int j, jb jb, jm jm)
        throws IOException
    {
        jb.skipBytes(8);
        return xs.a(jm, 2);
    }

    protected void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        dataoutputstream.writeByte(6);
        dataoutputstream.writeDouble(i);
    }

    private static String dees(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x4d;
                    break;
                case 1:
                    key = 19;
                    break;
                case 2:
                    key = 118;
                    break;
                case 3:
                    key = 11;
                    break;
                default:
                    key = 114;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[];
        as = new String[2];
        as[0] = dees("mz\005+\034\"gVjR;r\032b\026mw\031~\020!v".toCharArray());
        as[1] = dees(")|\003i\036(".toCharArray());
        z = as;
    }
}